//
//  RootClassOfInsideSpecialistCharts.m
//  __PRODUCTNAME__
//
//  Created by li cheng on 16/09/20
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "RootClassOfInsideSpecialistCharts.h"
#import "DataOfInsideSpecialistCharts.h"

@implementation RootClassOfInsideSpecialistCharts
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        NSMutableArray<DataOfInsideSpecialistCharts *> *mArrayOfDataOfInsideSpecialistCharts = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            DataOfInsideSpecialistCharts *dataOfInsideSpecialistCharts = [DataOfInsideSpecialistCharts modelDic:dic];
            [mArrayOfDataOfInsideSpecialistCharts addObject:dataOfInsideSpecialistCharts];
        }
        _data = mArrayOfDataOfInsideSpecialistCharts;
    }
}

+ (NSDictionary *)objectClassInArray{
    return @{@"data" : [DataOfInsideSpecialistCharts class]};
}

@end
